package a.e.b.a;

import a.c.k;
import a.e.b.c.a;
import a.e.b.c.ab;
import a.e.b.c.c;
import a.e.b.c.cb;
import a.e.b.c.o;
import a.g.f;
import a.h.dc;
import a.h.wc;

import java.util.*;

public class wb
  extends c
{
  public static final Object c = "yext.graphml.processor.PostProcessorOutputHandler#PROCESSORS_DPKEY";
  public static int g;
  
  public wb()
  {
    super.a(null);
    super.b(false);
    a(a.e.b.i.e);
  }
  
  public ab a()
  {
    return ab.d;
  }
  
  public Collection b()
  {
    Collection localCollection = super.b();
    localCollection.add(new a.e.b.c.q("yfiles.type", null, "postprocessors"));
    return localCollection;
  }
  
  public void c(o paramo) {}
  
  protected void a(o paramo, Object paramObject)
  {
    boolean bool = i.i;
    int i = i.h;
    cb localcb = paramo.d();
    Collection localCollection = (Collection)paramObject;
    localcb.a("Postprocessors", "http://www.yworks.com/xml/graphml");
    Iterator localIterator1 = localCollection.iterator();
    label266:
    label268:
    do
    {
      do
      {
        Object localObject;
        do
        {
          if (!localIterator1.hasNext()) {
            break;
          }
          localObject = localIterator1.next();
        } while (!(localObject instanceof f));
        f localf = (f)localObject;
        dc localdc = localf.i();
        Properties localProperties = new Properties();
        localdc.c(new wc(localProperties));
        localcb.a("Processor", "http://www.yworks.com/xml/graphml");
        localcb.c("class", localf.getClass().getName());
        if ((bool) || (i != 0)) {
          return;
        }
        Iterator localIterator2 = localProperties.keySet().iterator();
        if (localIterator2.hasNext()) {}
        while (bool)
        {
          String str1 = (String)localIterator2.next();
          String str2 = localProperties.getProperty(str1);
          str1 = str1.substring(localdc.e().length() + 1);
          localcb.a("Option", "http://www.yworks.com/xml/graphml").c("name", str1).c("value", str2).b();
          if (bool) {
            break label268;
          }
          if (i != 0) {
            break label266;
          }
          if (i == 0) {
            break;
          }
        }
        localcb.b();
      } while (bool);
    } while (i == 0);
    localcb.b();
  }
  
  protected Object b(o paramo, Object paramObject)
    throws a
  {
    boolean bool = i.i;
    if (!bool) {
      if (paramo.a().size() > 2) {
        return null;
      }
    }
    a.c.q localq = paramo.e();
    k localk = localq.c(c);
    if ((bool) || (localk != null))
    {
      Object localObject = localk.get(localq);
      if (!bool)
      {
        if ((localObject instanceof f))
        {
          ArrayList localArrayList = new ArrayList();
          localArrayList.add(localObject);
          return localArrayList;
        }
        if (bool) {}
      }
      else if ((localObject instanceof List))
      {
        return localObject;
      }
      if (localObject == null) {
        return null;
      }
      throw new a("Value of PROCESSORS_DPKEY must be of type y.module.YModule or java.util.List");
    }
    return null;
  }
}



/* Location:           E:\idea\

 * Qualified Name:     a.e.b.a.wb

 * JD-Core Version:    0.7.0.1

 */